/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.fee.facade.command;

import info.peigen.hotpot.business.fee.facade.command.order.rule.FeeRuleCreateOrder;
import info.peigen.hotpot.business.fee.facade.command.order.rule.FeeRuleDeleteOrder;
import info.peigen.hotpot.business.fee.facade.command.order.rule.FeeRuleModifyOrder;
import info.peigen.hotpot.business.fee.facade.command.result.FeeRuleCreateResult;
import info.peigen.hotpot.business.fee.facade.command.result.FeeRuleDeleteResult;
import info.peigen.hotpot.business.fee.facade.command.result.FeeRuleModifyResult;

/**
 * <b>(FeeRuleServiceFacade)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/11/10
 */
public interface FeeRuleServiceFacade {
    /**
     * 创建收费规则
     *
     * @param order CreateFeeRuleOrder
     *
     * @return CreateFeeRuleResult
     */
    FeeRuleCreateResult createFeeRule(FeeRuleCreateOrder order);

    /**
     * 修改收费规则
     *
     * @param order FeeRuleModifyOrder
     *
     * @return FeeRuleModifyResult
     */
    FeeRuleModifyResult modifyFeeRule(FeeRuleModifyOrder order);

    /**
     * 删除收费规则
     *
     * @param order DeleteFeeRuleOrder
     *
     * @return DeleteFeeRuleResult
     */
    FeeRuleDeleteResult deleteFeeRule(FeeRuleDeleteOrder order);
}
